package com.jess.arms.http;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Url;

public interface SessionApi {
    /**
     * 获取新的session
     * @param userId 用户名
     * @param passWord 密码
     * @return
     */
    @FormUrlEncoded
    @POST
    Call<ResponseBody> getNewSession(@Url String url, @Field("userId") String userId,
                                     @Field("passWord") String passWord);



}